By default, the system generated mailbox comes from sender Microsoft Outlook like the screen shoot below .Sometimes we might need to change the display name of the system generated mailbox because of some reasons.
The simplest way to change the field of the display name on the red line is to make this change in the ADSIEdit. Make short of long, here are the steps:
- Open ADSIEdit.msc
- Configuration -> Services -> Microsoft Exchange -> Company Name -> Transport Settings
- Right-click CN=MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e to properties.
- Locate the display name attribute, it should be Microsoft Outlook, then change it to Desired Display name that users want to see when they receive an NDR.
- Close ADSIEdit.
Up to now, this can satisfy the needs of most people. But in my case, I also want to change the SMTP address (MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@domain.com) to be easy to understand.
We can use the below command to get the value of the MicrosoftExchangeRecipientPrimarySmtpAddress
Get-OrganizationConfig | FL MicrosoftExchangeRecipientPrimarySmtpAddress
To change the value of MicrosoftExchangeRecipientPrimarySmtpAddress is little bit tricky. If we make any organizational changes by running Set-Organizationconfig command then it reverts back this value to default value Microsoft Outlook.
First we need to change the value by running the below command
Set-OrganizationConfig -MicrosoftExchangeRecipientEmailAddressPolicyEnabled $False
And then we need to set an appropriate email address from which it can send out NDRs to the internal users.
Set-OrganizationConfig -MicrosoftExchangeRecipientPrimarySmtpAddress NDR@domain.com
Note:
MicrosoftExchangeRecipientEmailAddressPolicyEnabled If this parameter is set to $false, you must manually add new e-mail addresses to the Microsoft Exchange recipient when e-mail address policies are added or modified. If this parameter is set to $true, every change we did above will be removed.